package com.yic.module.mes.controller.admin.itemproduce.vo;

import com.yic.module.mes.controller.admin.itemproduceroute.vo.ItemProduceRouteRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 产品生产信息 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ItemProduceRespVO extends ItemProduceBaseVO {

    @Schema(description = "序号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29852")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "产品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29852")
    private Long itemId;

    @Schema(description = "产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "29852")
    private String itemName;

    @Schema(description = "产品代码", requiredMode = Schema.RequiredMode.REQUIRED, example = "29852")
    private String itemCode;

    @Schema(description = "产品规格", requiredMode = Schema.RequiredMode.REQUIRED, example = "29852")
    private String spec;

    @Schema(description = "产品图号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29852")
    private String drawCode;

    @Schema(description = "产品工艺路线")
    List<ItemProduceRouteRespVO> routeList;

    @Schema(description = "工厂名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "29852")
    private String factoryName;

    @Schema(description = "生产车间", requiredMode = Schema.RequiredMode.REQUIRED, example = "31612")
    private String workshopName;




}
